package com.vnhai.java.jsf.managedbean;

import java.sql.Timestamp;
import java.util.Date;

import javax.faces.bean.ManagedBean;

@ManagedBean
public class DummyManageBean {
	private int number;
	private Date bDate;

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public Timestamp getBDateInTimeStamp() {
		return new Timestamp(bDate.getTime());
	}

	public void setbDate(Date bDate) {
		this.bDate = bDate;
	}

	public Date getbDate() {
		return bDate;
	}

}
